<html>
<head><meta charset="utf-8"><title>preparation work to remove static from place · t-compiler/wg-mir-opt · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/index.html">t-compiler/wg-mir-opt</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html">preparation work to remove static from place</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="180511671"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180511671" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180511671">(Nov 12 2019 at 12:43)</a>:</h4>
<p>I'm going over some things that needs to be done before placing the actual PR to remove statics from place and to be able to do that in a tidy way</p>



<a name="180511794"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180511794" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180511794">(Nov 12 2019 at 12:45)</a>:</h4>
<p>in particular we would need to generalize a bit some error messages because we are going to loose track of some information on MIR so we are not going to be able to differentiate between some ownership/borrowing violations through statics and through the use of just plain borrows</p>



<a name="180511869"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180511869" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180511869">(Nov 12 2019 at 12:46)</a>:</h4>
<p>I've opened <a href="https://github.com/rust-lang/rust/pull/66302" target="_blank" title="https://github.com/rust-lang/rust/pull/66302">https://github.com/rust-lang/rust/pull/66302</a>, <a href="https://github.com/rust-lang/rust/pull/66306" target="_blank" title="https://github.com/rust-lang/rust/pull/66306">https://github.com/rust-lang/rust/pull/66306</a> and <a href="https://github.com/rust-lang/rust/pull/66328" target="_blank" title="https://github.com/rust-lang/rust/pull/66328">https://github.com/rust-lang/rust/pull/66328</a></p>



<a name="180511877"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180511877" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180511877">(Nov 12 2019 at 12:46)</a>:</h4>
<p>/cc <span class="user-mention" data-user-id="124288">@oli</span> <span class="user-mention" data-user-id="126931">@centril</span></p>



<a name="180511929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180511929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180511929">(Nov 12 2019 at 12:47)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/66302" target="_blank" title="https://github.com/rust-lang/rust/pull/66302">https://github.com/rust-lang/rust/pull/66302</a> is a language change so those errors will need to be preserved some other way</p>



<a name="180512081"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512081" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512081">(Nov 12 2019 at 12:49)</a>:</h4>
<p>I see it differently but I'm not part of the lang team, I'd leave this up to you, <span class="user-mention" data-user-id="124288">@oli</span> and others</p>



<a name="180512101"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512101" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512101">(Nov 12 2019 at 12:49)</a>:</h4>
<p>Can you explain your POV?</p>



<a name="180512170"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512170" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512170">(Nov 12 2019 at 12:50)</a>:</h4>
<p>We could move the check to HIR if necessary -- I think that should be doable in a fairly clean way</p>



<a name="180512250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512250">(Nov 12 2019 at 12:51)</a>:</h4>
<p>I think it was just a limitation, that constants could not refer to statics</p>



<a name="180512270"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512270" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512270">(Nov 12 2019 at 12:51)</a>:</h4>
<p>ahh or maybe you're talking about just the errors?</p>



<a name="180512308"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512308" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512308">(Nov 12 2019 at 12:52)</a>:</h4>
<p>are you saying that is a language change to change the error messages?</p>



<a name="180512360"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512360" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512360">(Nov 12 2019 at 12:52)</a>:</h4>
<p><span class="user-mention" data-user-id="116266">@Santiago Pastorino</span> <a href="https://github.com/rust-lang/rust/pull/66302" target="_blank" title="https://github.com/rust-lang/rust/pull/66302">https://github.com/rust-lang/rust/pull/66302</a> is allowing more programs, yes? <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="180512375"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512375" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512375">(Nov 12 2019 at 12:52)</a>:</h4>
<p>yes</p>



<a name="180512390"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512390" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512390">(Nov 12 2019 at 12:53)</a>:</h4>
<p>so that's changing the type system, which makes it a language change</p>



<a name="180512413"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512413" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512413">(Nov 12 2019 at 12:53)</a>:</h4>
<p>it's true that it was a limitation, but an intentional one</p>



<a name="180512443"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512443" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512443">(Nov 12 2019 at 12:53)</a>:</h4>
<p>yeah, ok, I'd leave that discussion up to you guys :)</p>



<a name="180512454"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180512454" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180512454">(Nov 12 2019 at 12:53)</a>:</h4>
<p>=)</p>



<a name="180732562"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732562" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732562">(Nov 14 2019 at 13:56)</a>:</h4>
<p>hey everyone, in particular <span class="user-mention" data-user-id="124288">@oli</span> <span class="user-mention" data-user-id="116009">@nikomatsakis</span> <span class="user-mention" data-user-id="116118">@Matthew Jasper</span></p>



<a name="180732572"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732572" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732572">(Nov 14 2019 at 13:56)</a>:</h4>
<p>I think we may want to discuss this here :)</p>



<a name="180732597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732597">(Nov 14 2019 at 13:57)</a>:</h4>
<p>I have been talking with some in different places and other things show up on PRs</p>



<a name="180732630"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732630" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732630">(Nov 14 2019 at 13:57)</a>:</h4>
<p>so I've been talking and working a bit with Oli on this <a href="https://github.com/rust-lang/rust/compare/master...spastorino:handle-static-as-const" target="_blank" title="https://github.com/rust-lang/rust/compare/master...spastorino:handle-static-as-const">https://github.com/rust-lang/rust/compare/master...spastorino:handle-static-as-const</a></p>



<a name="180732660"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732660" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732660">(Nov 14 2019 at 13:57)</a>:</h4>
<p>one of the things we need to discuss is about error reporting</p>



<a name="180732728"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732728" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732728">(Nov 14 2019 at 13:58)</a>:</h4>
<p>basically if you start checking that diff from <a href="https://github.com/rust-lang/rust/compare/master...spastorino:handle-static-as-const#diff-ea11ff0e44213ba8f3bee0f5e63f392a" target="_blank" title="https://github.com/rust-lang/rust/compare/master...spastorino:handle-static-as-const#diff-ea11ff0e44213ba8f3bee0f5e63f392a">https://github.com/rust-lang/rust/compare/master...spastorino:handle-static-as-const#diff-ea11ff0e44213ba8f3bee0f5e63f392a</a> and on</p>



<a name="180732749"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732749" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732749">(Nov 14 2019 at 13:58)</a>:</h4>
<p>you will see how some diagnostics errors regresses</p>



<a name="180732805"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732805" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732805">(Nov 14 2019 at 13:59)</a>:</h4>
<p>with <span class="user-mention" data-user-id="124288">@oli</span> we were aiming for some more general errors, maybe as a first step towards a solution</p>



<a name="180732814"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732814" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732814">(Nov 14 2019 at 13:59)</a>:</h4>
<p>I've opened <a href="https://github.com/rust-lang/rust/pull/66328" target="_blank" title="https://github.com/rust-lang/rust/pull/66328">https://github.com/rust-lang/rust/pull/66328</a></p>



<a name="180732832"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732832" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732832">(Nov 14 2019 at 13:59)</a>:</h4>
<p>and some very interesting thoughts from <span class="user-mention" data-user-id="116118">@Matthew Jasper</span> showed up</p>



<a name="180732842"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732842" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732842">(Nov 14 2019 at 14:00)</a>:</h4>
<p>this is all to give a bit of context</p>



<a name="180732918"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180732918" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180732918">(Nov 14 2019 at 14:00)</a>:</h4>
<p>would be nice to discuss everything here maybe? :)</p>



<a name="180733010"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180733010" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180733010">(Nov 14 2019 at 14:01)</a>:</h4>
<p>/cc <span class="user-mention" data-user-id="119009">@eddyb</span> maybe too</p>



<a name="180733022"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/preparation%20work%20to%20remove%20static%20from%20place/near/180733022" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/preparation.20work.20to.20remove.20static.20from.20place.html#180733022">(Nov 14 2019 at 14:01)</a>:</h4>
<p>cc <span class="user-group-mention" data-user-group-id="1187">@WG-diagnostics</span> you can also chime in here, we're figuring out what kind of errors can have identical error messages for <code>static</code> items and immutable references</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>